package com.wwfish.cms.service.sysuser;

import com.google.gwt.user.client.rpc.RemoteService;
import com.wwfish.cms.model.sysuser.SysRoleDto;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2010-8-18
 * Time: 11:18:13
 * To change this template use File | Settings | File Templates.
 */
public interface SysRoleManager extends RemoteService {
    SysRoleDto  saveAndUpdate(SysRoleDto dto);

    void delete(SysRoleDto dto);

    List<SysRoleDto> getAllRoles(Map<String,String> filter);

    SysRoleDto getRole(Long id);
}
